package com.yuandaima.cn.services.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.yuandaima.cn.mappers.UserMapper;
import com.yuandaima.cn.model.User;
import com.yuandaima.cn.services.UserService;

import java.util.List;

/**
 * @desc:
 * @author: hwm
 * @date: 2019/7/24 18:21
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> getUserListLikeName(String nickName) {

        return userMapper.getUserListLikeName(nickName);
    }
}
